﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E03 RID: 3587
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RelicRecommendCsReq : IMessage<RelicRecommendCsReq>, IMessage, IEquatable<RelicRecommendCsReq>, IDeepCloneable<RelicRecommendCsReq>, IBufferMessage
	{
		// Token: 0x17002D95 RID: 11669
		// (get) Token: 0x0600A113 RID: 41235 RVA: 0x001AEEC4 File Offset: 0x001AD0C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RelicRecommendCsReq> Parser
		{
			get
			{
				return RelicRecommendCsReq._parser;
			}
		}

		// Token: 0x17002D96 RID: 11670
		// (get) Token: 0x0600A114 RID: 41236 RVA: 0x001AEECB File Offset: 0x001AD0CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RelicRecommendCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002D97 RID: 11671
		// (get) Token: 0x0600A115 RID: 41237 RVA: 0x001AEEDD File Offset: 0x001AD0DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RelicRecommendCsReq.Descriptor;
			}
		}

		// Token: 0x0600A116 RID: 41238 RVA: 0x001AEEE4 File Offset: 0x001AD0E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicRecommendCsReq()
		{
		}

		// Token: 0x0600A117 RID: 41239 RVA: 0x001AEEEC File Offset: 0x001AD0EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicRecommendCsReq(RelicRecommendCsReq other) : this()
		{
			this.avatarId_ = other.avatarId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A118 RID: 41240 RVA: 0x001AEF11 File Offset: 0x001AD111
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicRecommendCsReq Clone()
		{
			return new RelicRecommendCsReq(this);
		}

		// Token: 0x17002D98 RID: 11672
		// (get) Token: 0x0600A119 RID: 41241 RVA: 0x001AEF19 File Offset: 0x001AD119
		// (set) Token: 0x0600A11A RID: 41242 RVA: 0x001AEF21 File Offset: 0x001AD121
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AvatarId
		{
			get
			{
				return this.avatarId_;
			}
			set
			{
				this.avatarId_ = value;
			}
		}

		// Token: 0x0600A11B RID: 41243 RVA: 0x001AEF2A File Offset: 0x001AD12A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RelicRecommendCsReq);
		}

		// Token: 0x0600A11C RID: 41244 RVA: 0x001AEF38 File Offset: 0x001AD138
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RelicRecommendCsReq other)
		{
			return other != null && (other == this || (this.AvatarId == other.AvatarId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A11D RID: 41245 RVA: 0x001AEF68 File Offset: 0x001AD168
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AvatarId != 0U)
			{
				num ^= this.AvatarId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A11E RID: 41246 RVA: 0x001AEFA7 File Offset: 0x001AD1A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A11F RID: 41247 RVA: 0x001AEFAF File Offset: 0x001AD1AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A120 RID: 41248 RVA: 0x001AEFB8 File Offset: 0x001AD1B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AvatarId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.AvatarId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A121 RID: 41249 RVA: 0x001AEFEC File Offset: 0x001AD1EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AvatarId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AvatarId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A122 RID: 41250 RVA: 0x001AF02A File Offset: 0x001AD22A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RelicRecommendCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AvatarId != 0U)
			{
				this.AvatarId = other.AvatarId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A123 RID: 41251 RVA: 0x001AF05B File Offset: 0x001AD25B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A124 RID: 41252 RVA: 0x001AF064 File Offset: 0x001AD264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.AvatarId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003E31 RID: 15921
		private static readonly MessageParser<RelicRecommendCsReq> _parser = new MessageParser<RelicRecommendCsReq>(() => new RelicRecommendCsReq());

		// Token: 0x04003E32 RID: 15922
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003E33 RID: 15923
		public const int AvatarIdFieldNumber = 9;

		// Token: 0x04003E34 RID: 15924
		private uint avatarId_;
	}
}
